package my_image

func Pic(dx, dy int) [][]uint8 {
	result := make([][]uint8, dy)
	for j := 0; j < dy; j++ {
		element := make([]uint8, dx)
		for i := 0; i < dx; i++ {
			element[i] = uint8((i + j) / 2)
		}
		result[j] = element
	}
	return result
}